package com.boss.salary.service;

import com.boss.salary.entity.SalPostStandardSalary;
import com.singularsys.jep.JepException;

import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

public interface ISalPostStandardSalaryService {

    /**
     * 查询全部
     *
     * @param queryParam 条件
     * @return
     */
    List<Map<String, Object>> querySalPostStandardSalaryAll(Map<String, Object> queryParam);

    /**
     * 查询全部
     *
     * @param queryParam 条件
     * @return
     */
    List<Map<String, Object>> getSalByGradeLevelId(Map<String, Object> queryParam);

    /**
     * 校验重复
     * @param queryParams
     * @return
     */
    int checkRepeat(Map<String, String> queryParams);

    /**
     * 新增
     *
     * @param salPostStandardSalary
     */
    void insertSalPostStandardSalary(SalPostStandardSalary salPostStandardSalary);

    /**
     * 修改
     *
     * @param salPostStandardSalary
     */
    void updateSalPostStandardSalary(SalPostStandardSalary salPostStandardSalary) throws InvocationTargetException, NoSuchMethodException, JepException, IllegalAccessException;

    /**
     * 根据id删除
     *
     * @param id
     */
    void deleteSalPostStandardSalary(String id);

}
